package com.starry.Spring5Demo;

public class Order {

    private String oNumber;
    private int counts;

    public Order() {
    }

    public Order(String oNumber, int counts) {
        this.oNumber = oNumber;
        this.counts = counts;
    }

    public void setoNumber(String oNumber) {
        this.oNumber = oNumber;
    }

    public void setCounts(int counts) {
        this.counts = counts;
    }

    public void TestOrder(){
        System.out.println("订单号"+oNumber+"::数量"+counts);

    }
}
